package com.tanxi521.tnweb.mapper;

import com.tanxi521.tnweb.model.PlayerAccount;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PlayerAccountMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PlayerAccount record);

    int insertSelective(PlayerAccount record);

    PlayerAccount selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PlayerAccount record);

    int updateByPrimaryKey(PlayerAccount record);

    int selectAllPlayerCount();

    int selectOnlineNums();

    List<PlayerAccount> selectPlayerByPlayerName(String mcId);
}